import request from "@/utils/request";

// 获取订单
export const orderAPI = () => {
  return request({
    url: '/member/order/pre',
    method: 'GET'
  })
}

// 提交支付订单
export const orderSubmitAPI = (data) => {
  return request({
    url: '/member/order',
    method: 'POST',
    data
  })
}
